//
//  BuyViewController.m
//  Leisure
//
//  Created by xalo on 16/6/30.
//  Copyright © 2016年 朱旭东. All rights reserved.
//

#import "BuyViewController.h"

@interface BuyViewController ()
@property (nonatomic,strong)UIWebView *webView;

@end

@implementation BuyViewController

- (UIWebView *)webView
{
    if (!_webView) {
        _webView =[[UIWebView alloc] initWithFrame:self.view.frame] ;
    }
    [_webView  setBackgroundColor:[UIColor  clearColor]];
    [_webView setOpaque:NO];
    return _webView;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSLog(@"%@",self.buyUrl);
    [self.view addSubview:self.webView];
    
    [self.webView  loadRequest:[NSURLRequest  requestWithURL:[NSURL  URLWithString:self.buyUrl]]];
    
}


@end
